package tech.jabari.user.dao;

import tech.jabari.user.entity.User;

import java.util.List;
import java.util.Map;

public interface UserDao {

    List<User> findAllUser(Map<String,Object> paramsMap);

    Integer findAllUserCount(Map<String, Object> paramsMap);

    Integer deleteUser(Integer id);

    Integer batchDeleteUser(String delIds);

    User findById(Integer idInt);

    List<User> selectUserByUsernameAndPwd(String username, String pwd);

    List<User> selectUserByUsername(String username);

    Integer insertUser(User user);

    Integer updateUser(User user);
}
